package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *-javaagent:D:/ideapro/javaagent/agent/target/agent-1.0-SNAPSHOT.jar
 * @author xia_xun
 */
@SpringBootApplication
@RestController
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}

	@RequestMapping("hello.do")
	public String hello(){
		System.out.println("hello.do execute");
		return "hello 婚礼纪";
	}

}
